body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, hei;
    color: #000;
    background: #f2f2f2;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #666;
}

div {
    box-sizing: border-box;
}

.search-index {
    display: flex;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 44px;
    max-width: 540px;
    min-width: 320px;
    background-color: #f6f6f6;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.search {
    flex: 1;
    position: relative;
    height: 26px;
    line-height: 24px;
    border: 1px solid #ccc;
    margin: 7px 9px;
    font-size: 12px;
    color: #666;
    padding-left: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgb(0, 0, 0, 0.2);
}

.search::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 15px;
    height: 15px;
    background: url(../images/sprite.png) no-repeat -59px -279px;
    background-size: 104px auto;
}

.user {
    width: 44px;
    height: 44px;
    font-size: 12px;
    text-align: center;
    color: cadetblue;
}

.user::before {
    content: '';
    display: block;
    width: 23px;
    height: 23px;
    background: url(../images/sprite.png) no-repeat -59px -194px;
    background-size: 104px auto;
    margin: 4px auto 0px;
}

/* 2 */

.focus {
    padding-top: 44px;
}

.focus img {
    width: 100%;
}

/* 3 */
.local-nav {
    display: flex;
    height: 64px;
    margin: 4px 4px;
    background-color: #fff;
    border-radius: 8px;
}

.local-nav li {
    flex: 1;
}

.local-nav li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}

/* 属性选择器 */
.local-nav li [class^="local-nav-icon"] {
    margin-top: 8px;
    width: 32px;
    height: 32px;
    background-color: #ddd;
    background: url(../images/localnav_bg.png) no-repeat 0 0;
    background-size: 32px auto;
}

.local-nav li .local-nav-icon-1 {
    background-position: 0 -32px;
}

.local-nav li .local-nav-icon-2 {
    background-position: 0 -64px;
}

.local-nav li .local-nav-icon-3 {
    background-position: 0 -96px;
}

.local-nav li .local-nav-icon-4 {
    background-position: 0 -128px;
}

/* 4 */
nav {
    overflow: hidden;
    border-radius: 8px;
    /* 上右下左 */
    margin: 0px 4px 0px 4px;
}

.nav-common {
    display: flex;
    height: 88px;
}

.nav-common:nth-child(-n+2) {
    margin-bottom: 3px;
}

.nav-common:first-child {
    background: linear-gradient(to right, #fa5a55, #fa994d);
}

.nav-common:nth-child(2) {
    background: linear-gradient(to right, #4b90ed, #53bced);
}

.nav-common:last-child {
    background: linear-gradient(to right, #34c2a9, #6cd559);
}

.nav-items {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nav-items:nth-child(-n+2) {
    border-right: 1px solid #fff;
}

.nav-items a {
    flex: 1;
    line-height: 44px;
    color: white;
    text-shadow: 1px 1px rgb(0, 0, 0, 0.2);
    text-align: center;
}

.nav-items a:nth-child(1) {
    border-bottom: 1px solid #fff;
}

.nav-items:nth-child(1) a {
    border: 0px;
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 131px auto;
}

/* subnav */
.sub-nav {
    display: flex;
    flex-wrap: wrap;
    margin: 4px 4px;
    background-color: #fff;
    border-radius: 8px;
    padding: 12px 0px;
    box-shadow: 0px 1px rgb(0, 0, 0, 0.2);
}

.sub-nav li {
    flex: 20%;
}

.sub-nav li:nth-child(-n+5) {
    margin-bottom: 12px;
}

.sub-nav li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}

/* 属性选择器 */
.sub-nav li [class^="sub-nav-icon"] {
    margin-top: 4px;
    width: 28px;
    height: 28px;
    background-color: #ddd;
    background: url(../images/subnav-bg.png) no-repeat 0 0;
    background-size: 28px auto;
}

/* sales-box */
.sales-box {
    margin: 0 4px;
    background-color: #fff;
    border-top: 1px solid #bbb;
}

.sales-hd {
    position: relative;
    height: 44px;
    border-bottom: 1px solid #ccc;
}

.sales-hd h2 {
    position: relative;
    text-indent: -9999px;
}

.sales-hd h2::after {
    position: absolute;
    top: 8px;
    left: 10px;
    content: '';
    width: 79px;
    height: 15px;
    background: url(../images/hot.png) no-repeat;
    background-size: 79px auto;
}

.more {
    position: absolute;
    top: 0px;
    right: 10px;
    background: linear-gradient(to right, #ff506c, #ff6bc6);
    border-radius: 14px;
    padding: 4px 20px 4px 10px;
    color: #fff;
    font-weight: 700;
}

.more::after {
    content: '';
    position: absolute;
    display: block;
    top: 10px;
    right: 8px;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotateZ(45deg);
}

.sales-bd {}

.row {
    display: flex;
}

.row a {
    flex: 1;
    border-bottom: 1px solid #eee;
}

.row img {
    width: 100%;
}

.row a:nth-child(1) {
    border-right: 1px solid #eee;
}